'use strict';
var host;

//host = "http://192.168.2.245:9082";
host = "https://gift.yingyinglicai.com";

module.exports = {
    initIndexUrl: host + "/activity/banner/appBannerList.do?channel=APP_INDEX",
    initIndexCategoryUrl: host + "/activity/goods/categoryList.do",
    initCategoryUrl: host + "/activity/goods/categoryAll.do",
    initCategoryGoodsUrl: host + "/activity/goods/goodsList.do",
    initGoodsDetailsUrl: host + "/activity/goods/goodsDetail.do",
    initOrderResult: host + "/activity/order/getTradeResult.do",
    initCheckBuyBefore: host + "/activity/order/preSku.do",
    initBuyInfo: host + "/activity/goods/selectSku.do",
    initOrderDetails: host + "/activity/order/orderDetail.do",
    initMyPointUrl: host + "/activity/pointm/pntDetail.do",
    initExchangeUrl: host + "/activity/order/list.do",
    initLimitSaleUrl: host + "/activity/topic/specialTopicForKq.do",

    initModalUrl: host + "/activity/prompt/pop",
    cancleModlaUrl: host + '/activity/prompt/popcallback',

    checkAuthUrl: host + "/activity/order/preTrade.do",
    checkGoodsUrl: host + "/activity/order/prexchange.do",
    getSkuUrl: host + "/activity/goods/selectSku.do",
    checkOrderUrl: host + "/activity/order/preSku.do",
    getOrderUrl: host + "/activity/order/orderDetail.do",
    subOrderUrl: host + "/activity/order/orderSubmit.do",

    createOrderUrl: host + "/activity/order/orderCreate.do",
    getOrderStateUrl: host + "/activity/order/getTradeResult.do",
    putOrderUrl: host + "/activity/order/orderSubmit.do",

    checkPayUrl: host + "/activity/pay/tradePreCheck.do",
    checkPayYyxUrl: host + "/activity/pay/tradePreCheck_yyx.do",
    initQuickUrl: host + "/activity/pay/quickPayInit.do",
    getVerifyCodeUrl: host + "/activity/pay/quickPayVerify.do",
    payOfPoint: host + "/activity/order/payOrder.do",
    payOfPointYyx: host + "/activity/order/payOrder_yyx.do",
    payOfRmb: host + "/activity/pay/quickPaySubmit.do",
    payOfRmbYyx: host + "/activity/pay/quickPaySubmit_yyx.do",
    /*获取商品详情底部流程图*/
    initGoodsImgUrl: host + "/activity/banner/appBannerList.do",

    /*获取二楼数据*/
    GetFloorConfigUrl: host + "/activity/welcome/getPicConfig.do",

    /*订单中心相关的接口*/

    /*订单接口（订单列表，过滤，搜索）*/
    initOrderUrl: host + "/activity/order/list.do",

    /*支付前校验订单是否过期*/
    CheckOrderUrl: host + "/activity/order/checkOrderStatus.do",

    /*商品搜索接口*/
    initGoodsSearchUrl: host + "/activity/goods/goodsList.do",

    /*取消订单接口*/
    cancelOrderUrl: host + "/activity/order/cancelUnpaidOrder.do",

    /*初始化订单详情*/
    initOrderDetailsUrl: host + "/activity/order/orderContent.do",

    /*初始化物流信息*/
    initLogisticUrl: host + "/activity/order/orderLogistics.do",

    /*提交退款信息*/
    handRefundRequest: host + '/activity/order/handRefundRequest.do',

    /*撤销退款*/
    cancelRefund: host + '/activity/order/cancelRefund.do',

    /*兑换积分请求盈优选*/
    pointTransYyx: host + '/activity/pointm/pointTrans_yyx.do',

    /*兑换积分请求盈盈理财*/
    pointTransYylc: host + '/activity/pointm/pointTrans.do',
};